* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 24px;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    font-size: 14px;
    opacity: 0.8;
}

.controls-panel {
    width: 320px;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    overflow-y: auto;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.code-modal-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.code-modal-btn:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.controls-panel h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #4ecdc4;
    font-size: 18px;
    border-bottom: 2px solid #4ecdc4;
    padding-bottom: 10px;
}

.control-section {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-section h4 {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
}


.control-group {
    margin-bottom: 12px;
}

.control-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #e0e0e0;
}

.control-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #4ecdc4, #45b7d1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #ff6b6b;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.control-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
    accent-color: #4ecdc4;
}

.control-group select {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
}

.control-group select option {
    background: #2a2a2a;
    color: #ffffff;
}

.control-group span {
    float: right;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #4ecdc4;
    min-width: 40px;
    text-align: center;
}

button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    background: linear-gradient(45deg, #ff5252, #ff6b6b);
}

button:active {
    transform: translateY(0);
}

main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* 右侧通道信息面板 */
.pass-info-panel {
    width: 350px;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    overflow-y: auto;
    border-left: 2px solid rgba(78, 205, 196, 0.3);
    backdrop-filter: blur(10px);
}

.pass-info-panel h3 {
    color: #4ecdc4;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
}

.pass-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.pass-header h4 {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}

.pass-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.pass-status.active {
    background: rgba(76, 175, 80, 0.8);
    color: #ffffff;
}

.pass-status.inactive {
    background: rgba(244, 67, 54, 0.8);
    color: #ffffff;
}

.pass-description,
.pass-properties,
.pass-parameters,
.pass-usage {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.pass-description:hover,
.pass-properties:hover,
.pass-parameters:hover,
.pass-usage:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.1);
}

.pass-description h5,
.pass-properties h5,
.pass-parameters h5,
.pass-usage h5 {
    color: #4ecdc4;
    margin: 0 0 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(78, 205, 196, 0.2);
    position: relative;
}

.pass-description h5::before {
    content: '📝';
    font-size: 16px;
}

.pass-properties h5::before {
    content: '⚙️';
    font-size: 16px;
}

.pass-parameters h5::before {
    content: '🔧';
    font-size: 16px;
}

.pass-usage h5::before {
    content: '💻';
    font-size: 16px;
}

.pass-description h5::after,
.pass-properties h5::after,
.pass-parameters h5::after,
.pass-usage h5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #4ecdc4, #45b7d1);
    border-radius: 1px;
}

.pass-description p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    font-size: 13px;
}

.property-list,
.parameter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-item,
.parameter-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
    line-height: 1.5;
}

.property-item:hover,
.parameter-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.property-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.parameter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.property-name,
.param-name {
    color: #ff6b6b;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-name::before,
.param-name::before {
    content: '▶';
    color: #4ecdc4;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.property-item:hover .property-name::before,
.parameter-item:hover .param-name::before {
    transform: rotate(90deg);
}

.property-value,
.param-value {
    color: #4ecdc4;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: rgba(78, 205, 196, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.property-desc,
.param-desc {
    color: #aaaaaa;
    font-size: 12px;
    font-style: italic;
    margin-top: 5px;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    line-height: 1.4;
}

/* 新增样式：参数和属性项的分隔符 */
.parameter-item:not(:last-child)::after,
.property-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(78, 205, 196, 0.3), transparent);
}

.parameter-item,
.property-item {
    position: relative;
}

.usage-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.usage-content p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    font-size: 13px;
}

.usage-content code {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 40, 0.8) 100%);
    color: #4ecdc4;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    display: block;
    white-space: pre-wrap;
    overflow-x: auto;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.usage-content code:hover {
    border-color: #4ecdc4;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 15px rgba(78, 205, 196, 0.2);
}

.usage-content code::before {
    content: 'JavaScript';
    position: absolute;
    top: -1px;
    right: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #000;
    padding: 2px 8px;
    border-radius: 0 0 4px 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#scene-container {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a2e 0%, #16213e 100%);
}

.info-panel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 250px;
}

.info-panel h4 {
    color: #4ecdc4;
    margin-bottom: 10px;
    font-size: 14px;
}

#effect-chain {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.effect-item {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.effect-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.effect-item.active {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    color: #000;
    font-weight: 500;
    border-color: #4ecdc4;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.effect-item.selected {
    background: rgba(64, 158, 255, 0.3);
    border-color: rgba(64, 158, 255, 0.6);
    box-shadow: 0 0 15px rgba(64, 158, 255, 0.4);
}

.effect-item.selected:hover {
    background: rgba(64, 158, 255, 0.4);
    border-color: rgba(64, 158, 255, 0.8);
}

.performance-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.performance-info p {
    font-size: 12px;
    margin: 3px 0;
    display: flex;
    justify-content: space-between;
}

.performance-info span {
    color: #4ecdc4;
    font-weight: 500;
}

/* 滚动条样式 */
.controls-panel::-webkit-scrollbar {
    width: 8px;
}

.controls-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 10px 0;
}

.controls-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4ecdc4, #45b7d1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.controls-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #45b7d1, #4ecdc4);
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

/* 通道详情区域的滚动条 */
.pass-details::-webkit-scrollbar {
    width: 6px;
}

.pass-details::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.pass-details::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4ecdc4, #45b7d1);
    border-radius: 3px;
}

.pass-details::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #45b7d1, #4ecdc4);
}

/* 弹窗模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 2% auto;
    padding: 0;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease;
}

.modal-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 20px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid #333;
}

.modal-code-title {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 14px;
}

.modal-copy-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-copy-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.modal-code-content {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e0e0e0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    max-height: 400px;
    overflow-y: auto;
}

.modal-code-content code {
    color: #e0e0e0;
    background: none;
    padding: 0;
    border-radius: 0;
    font-family: inherit;
    white-space: pre;
}

.modal-notes {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,193,7,0.1);
    border: 1px solid rgba(255,193,7,0.3);
    border-radius: 8px;
}

.modal-notes h4 {
    color: #ffc107;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
}

.modal-notes ul {
    margin: 0;
    padding-left: 20px;
    color: #e0e0e0;
}

.modal-notes li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.modal-notes strong {
    color: #ffc107;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .controls-panel {
        width: 100%;
        height: 200px;
        order: 2;
    }
    
    main {
        order: 1;
        height: calc(100vh - 200px);
    }
    
    header {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
        margin-bottom: 10px;
    }
    
    .info-panel {
        bottom: 10px;
        right: 10px;
        font-size: 12px;
    }
}

/* 代码展示区域样式 - 类似右侧面板风格 */
.code-display-section {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.95);
    border-left: 2px solid rgba(78, 205, 196, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.code-display-section:hover {
    border-left-color: #4ecdc4;
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.1);
}

.code-display-section h4 {
    color: #4ecdc4;
    margin: 0 0 20px 0;
    font-size: 18px;
    text-align: center;
    padding: 20px 20px 10px 20px;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
    position: relative;
}



.code-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    margin-bottom: 0;
}

.code-title {
    color: #4ecdc4;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 600;
}



.copy-btn {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.2);
}

.copy-btn:hover {
    background: linear-gradient(45deg, #45b7d1, #4ecdc4);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

.copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.2);
}

.code-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e6e6e6;
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.code-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.1);
}

.code-content code {
    background: none;
    padding: 0;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* 代码语法高亮 */
.code-content .comment {
    color: #6a9955;
    font-style: italic;
}

.code-content .keyword {
    color: #569cd6;
    font-weight: 600;
}

.code-content .string {
    color: #ce9178;
}

.code-content .number {
    color: #b5cea8;
}

.code-content .function {
    color: #dcdcaa;
    font-weight: 500;
}

.code-content .variable {
    color: #9cdcfe;
}

.code-content .property {
    color: #92c5f7;
}

.code-content .operator {
    color: #d4d4d4;
}

.code-content .punctuation {
    color: #cccccc;
}

/* 代码滚动条美化 */
.code-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-content::-webkit-scrollbar-track {
    background: rgba(78, 205, 196, 0.1);
    border-radius: 4px;
}

.code-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.code-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #45b7d1, #667eea);
}

/* 代码内容区域基础样式 */
.code-content {
    position: relative;
}

.code-notes {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.code-notes:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.1);
}

.code-notes h5 {
    color: #4ecdc4;
    margin: 0 0 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(78, 205, 196, 0.2);
    position: relative;
    font-weight: 600;
}



.code-notes h5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #4ecdc4, #45b7d1);
    border-radius: 1px;
}

.code-notes ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.code-notes li {
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
    line-height: 1.5;
    color: #e6e6e6;
    position: relative;
}

.code-notes li:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.code-notes li::before {
    content: '•';
    color: #4ecdc4;
    font-size: 14px;
    margin-right: 8px;
    font-weight: bold;
}

.code-notes strong {
    color: #4ecdc4;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    background: rgba(78, 205, 196, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 5px;
}

/* 动画效果 */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(78, 205, 196, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(78, 205, 196, 0.8);
    }
}

.control-section:hover {
    animation: glow 2s infinite;
    border-color: rgba(78, 205, 196, 0.3);
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.control-section {
    animation: fadeIn 0.5s ease-out;
}

.control-section:nth-child(2) { animation-delay: 0.1s; }
.control-section:nth-child(3) { animation-delay: 0.2s; }
.control-section:nth-child(4) { animation-delay: 0.3s; }
.control-section:nth-child(5) { animation-delay: 0.4s; }
.control-section:nth-child(6) { animation-delay: 0.5s; }

/* 代码展示区域简洁动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-display-section {
    animation: fadeInUp 0.5s ease-out;
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

/* 使用说明指南样式 */
.usage-guide-section {
    background: rgba(0, 0, 0, 0.95);
    border-left: 2px solid rgba(78, 205, 196, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.usage-guide-section:hover {
    border-left-color: #4ecdc4;
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.1);
}

.usage-guide-section h4 {
    color: #4ecdc4;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
}

.usage-guide-section h5 {
    color: #4ecdc4;
    margin: 0 0 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(78, 205, 196, 0.2);
    position: relative;
    font-weight: 600;
}

.usage-guide-section h5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #4ecdc4, #45b7d1);
    border-radius: 1px;
}

.usage-guide-section h6 {
    color: #e6e6e6;
    font-size: 14px;
    font-weight: 500;
    margin: 15px 0 8px 0;
    padding-left: 10px;
    border-left: 3px solid #4ecdc4;
}

/* 概念列表 - 右侧面板风格 */
.concept-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.concept-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.concept-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.concept-name {
    color: #ff6b6b;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.concept-name::before {
    content: '▶';
    color: #4ecdc4;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.concept-item:hover .concept-name::before {
    transform: rotate(90deg);
}

.concept-desc {
    color: #aaaaaa;
    font-size: 12px;
    font-style: italic;
    margin-top: 5px;
    padding-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    line-height: 1.4;
}

/* 通道类型 - 右侧面板风格 */
.pass-types {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.pass-type-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
    line-height: 1.5;
    color: #cccccc;
    position: relative;
}

.pass-type-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.pass-type-item::before {
    content: '•';
    color: #4ecdc4;
    font-weight: bold;
    margin-right: 8px;
}

.pass-type-item strong {
    color: #4ecdc4;
    font-weight: 600;
}

/* 使用步骤 - 右侧面板风格 */
.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
    line-height: 1.5;
    position: relative;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.step-desc {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

/* 代码示例 - 右侧面板风格 */
.code-examples {
    margin: 20px 0;
}

.example-item {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.example-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.1);
}

.example-code {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 12px 0 0 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e6e6e6;
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
    position: relative;
}

.example-code:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.1);
}

.example-code code {
    background: none;
    padding: 0;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* 代码语法高亮 - 引入通道流程使用说明 */
.example-code .comment {
    color: #6a9955;
    font-style: italic;
}

.example-code .keyword {
    color: #569cd6;
    font-weight: 600;
}

.example-code .string {
    color: #ce9178;
}

.example-code .number {
    color: #b5cea8;
}

.example-code .function {
    color: #dcdcaa;
    font-weight: 500;
}

.example-code .variable {
    color: #9cdcfe;
}

.example-code .property {
    color: #92c5f7;
}

.example-code .operator {
    color: #d4d4d4;
}

.example-code .punctuation {
    color: #cccccc;
}

/* 代码滚动条美化 - 引入通道流程使用说明 */
.example-code::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.example-code::-webkit-scrollbar-track {
    background: rgba(78, 205, 196, 0.1);
    border-radius: 4px;
}

.example-code::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.example-code::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #45b7d1, #667eea);
}

/* 使用技巧 - 右侧面板风格 */
.usage-tips {
    margin-top: 20px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(78, 205, 196, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tip-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(78, 205, 196, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.2);
}

.tip-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
    position: relative;
}

.tip-icon::before {
    content: '💡';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
}

.tip-content {
    flex: 1;
}

.tip-title {
    font-weight: 600;
    color: #4ecdc4;
    margin-bottom: 6px;
    font-size: 14px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tip-desc {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.5;
}

.usage-tips ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.usage-tips li {
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    border-left: 3px solid rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
    line-height: 1.5;
    color: #cccccc;
    position: relative;
}

.usage-tips li:hover {
    background: rgba(255, 255, 255, 0.12);
    border-left-color: #4ecdc4;
    transform: translateX(5px);
}

.usage-tips li::before {
    content: '💡';
    margin-right: 12px;
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.usage-tips strong {
    color: #4ecdc4;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 - 代码展示区域 */
@media (max-width: 768px) {
    .code-display-section {
        margin-top: 20px;
        border-radius: 8px;
    }
    
    .code-display-section h4 {
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .code-container {
        padding: 16px;
    }
    
    .code-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    .code-content {
        font-size: 12px;
        padding: 16px;
        max-height: 300px;
    }
    
    .code-notes {
        padding: 12px 16px;
    }
    
    .code-notes h5 {
        font-size: 14px;
    }
    
    .code-notes li {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .code-display-section h4 {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .code-container {
        padding: 12px;
    }
    
    .code-content {
        font-size: 11px;
        padding: 12px;
        max-height: 250px;
    }
}